//
//  TestFinishedVC.swift
//  Auscultation
//
//  Created by zwb on 2021/3/30.
//

import UIKit

class TestFinishedVC: BaseVC {
    @IBOutlet weak var cancelBtn: UIButton!
    
    var model: TestFinishedModel = TestFinishedModel(){
        didSet{
//            self.scoreL.text = model.score.string
//            self.creatTimeL.text = model.examBeginTimeString
//            self.testTimeL.text = model.testTimeString
//            if model.pass {
//                self.resultL.text = "考试通过"
//                self.iconImage.image = UIImage(named: "chenggong")
//
//            }else{
//                self.resultL.text = "考试未通过"
//                self.iconImage.image = UIImage(named: "shibai")
//
//            }
        }
    }

    
    @IBAction func cancelClick(_ sender: Any) {
        guard let vc = self.navigationController?.viewControllers[0] else { return  }
        self.navigationController?.popToViewController(vc, animated: true)
        print("取消升级")
    }
    @IBAction func confirmOkClick(_ sender: UIButton) {
        print("升级")
        guard let vc = self.navigationController?.viewControllers[0] else { return  }
        self.navigationController?.popToViewController(vc, animated: true)

    }
    @IBOutlet weak var congfirmBtn: UIButton!
    @IBOutlet weak var finishedImg: UIImageView!
    @IBOutlet weak var testFinishedTipsL: UILabel!
    @IBOutlet weak var testFinishL: UILabel!
    override func viewDidLoad() {
        super.viewDidLoad()
        self.navTitle = "等级测评"
        let style = LGFNavigationBarStyle.lgf()
        style.lgf_LeftBtnImageLight = UIImage(named: "darkback")!
        self.lgf_NavigationBar.lgf_line?.isHidden = true
        self.lgf_NavigationBar.lgf_Reload()
        isScreenPanPopEnabled = false
    }

    @objc override func leftBtnSelect() {
        self.navigationController?.popToRootViewController(animated: true)
    }


    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
